home *** CD-ROM | disk | FTP | other *** search
/ Super Hot Shareware / Digital Concepts Inc. - PC World - SUPER HOT SHAREWARE.iso / Win98 / Msie540 / mdac_ie5.cab / adoreadm.txt < prev    next >
Text File  |  1999-01-22  |  20KB  |  311 lines

  1. ---------------------------------------------------------
  2. Microsoft(R) ActiveX(R) Data Objects version 2.1 Readme File
  3. ---------------------------------------------------------
  4.  
  5. (c) 1998 Microsoft Corporation. All rights reserved.
  6.  
  7. This document provides late-breaking or other information that supplements the Microsoft ADO documentation.
  8.  
  9. --------
  10. CONTENTS
  11. --------
  12.  
  13. 1. PRODUCT DESCRIPTION
  14.    
  15. 2. NEW FEATURES
  16. 2.1 Seek and Index
  17. 2.2 Row updates and synchronization
  18. 2.3 Microsoft OLE DB Persistence Provider
  19. 2.4 Microsoft Data Shaping Service for OLE DB
  20. 2.5 Microsoft OLE DB Remoting Provider
  21.  
  22. 3. TECHNICAL NOTES
  23. 3.1 Security Enhancements
  24. 3.2 Restrictive Behavior
  25. 3.3 Customizing Security Settings
  26.  
  27. 4. KNOWN BUGS, LIMITATIONS, WORKAROUNDS, AND LATE-BREAKING DOCUMENTATION NOTES
  28.  
  29. ----------------------
  30. 1. PRODUCT DESCRIPTION
  31. ----------------------
  32.  
  33. ActiveX Data Objects (ADO) is an Automation-based interface for accessing data. ADO uses the OLE DB interface to access a broad range of data sources, including but not limited to data provided via ODBC.
  34.  
  35. Users of RDO and DAO should quickly become comfortable with programming to ADO because the overall design of ADO comes from our experience in developing those interfaces.
  36.  
  37. Microsoft Remote Data Service (RDS) is a component of ADO that provides fast and efficient data connectivity and the data publishing framework for applications hosted in Microsoft Internet Explorer. It is based on a client/server, distributed technology that works over HTTP, HTTPS (HTTP over Secure Sockets layer), and DCOM application protocols. Using data-aware ActiveX controls, RDS provides data access programming in the style of Microsoft Visual Basic(R) to Web developers who need to build distributed, data-intensive applications for use over corporate intranets and the Internet.
  38.  
  39. ---------------
  40. 2. NEW FEATURES
  41. ---------------
  42.  
  43. ADO 2.1 adds several new features for developers.
  44.  
  45. 2.1 Seek and Index
  46. The Seek method and Index property add fast, index-based location of rows in a recordset.
  47.  
  48. 2.2 Row updates and synchronization
  49. The new "row fix-up" mode offers the user custom control of row updates and synchronization for recordsets created by a JOIN operation. Seven new dynamic properties control the behavior of five existing methods.
  50.  
  51. 2.3 Microsoft OLE DB Persistence Provider
  52. The Microsoft OLE DB Persistence Provider, in conjunction with the Recordset object's Save and Open methods, saves and restores a recordset to a file. With this release, a recordset can be saved in Extensible Markup Language (XML) format, the standard means of defining user-specified tags for data transported across the Internet.
  53.  
  54. 2.4 Microsoft Data Shaping Service for OLE DB
  55. The Microsoft Data Shaping Service for OLE DB, which supports Data Shaping, can now:
  56.  
  57. 2.4.1 Re-shape a previously shaped recordset. To support this feature, recordsets now have a Name property that exists for the duration of the connection.
  58.  
  59. 2.4.2 Perform aggregate calculations on a column at any level of a shaped recordset, not just the immediate child of the parent. This feature uses fully qualified chapter names to form a path to the desired level and column.
  60.  
  61. 2.4.3 Parameterized COMPUTE commands can have an arbitrary number of intervening COMPUTE clauses between the PARAMETER clause and parameter argument.
  62.  
  63. 2.5 Microsoft OLE DB Remoting Provider
  64. The Microsoft OLE DB Remoting Provider becomes a standard service provider and acquires new dynamic properties for enhanced performance, greater user control, and backwards compatibility with ADO 2.0.
  65.  
  66.  
  67. ------------------
  68. 3. TECHNICAL NOTES
  69. ------------------
  70.  
  71. 3.1 Security Enhancements
  72.  
  73. This release includes security enhancements for ADO and RDS objects so that some of the operations are restricted when Internet Explorer is running in a "safe" mode.
  74.  
  75. 3.1.1. Zones
  76. You can set different security settings for different "zones" in Internet Explorer 4.0 to customize the behavior of ADO/RDS objects in those zones. The following four zones are defined in Internet Explorer 4.0:
  77. *  Internet zone
  78. *  Local intranet zone
  79. *  Restricted sites zone
  80. *  Trusted sites zone
  81.  
  82. 3.1.2. Security Levels
  83. For each of these zones, you can specify the security level to use. The following security levels are available for each zone:
  84. *  High
  85. *  Medium
  86. *  Low
  87. *  Custom
  88.  
  89. Like any other ActiveX controls, in order for ADO/RDS objects to work at all in Internet Explorer 4.0, the security level must be set to "Medium" or "High." Custom settings are used to set ADO/RDS objects to behave in safe or unsafe mode.
  90.  
  91. 3.2 Restrictive Behavior
  92.  
  93. By default, any unsafe operations on ADO/RDS objects in Internet Explorer 4.0 will result in a user prompt when accessing pages from "Local trusted zone," "Trusted sites zone," and "Internet zone." Unsafe operations on ADO/RDS objects are disabled, by default, for pages loaded from "Restricted sites zone." The following describes ADO/RDS behavior when running in these modes:
  94.  
  95. 3.2.1 Safe Objects
  96. The following objects are considered "safe." This means that unsafe operations (detailed in 3.2.3) are disallowed in a safe environment (e.g., Internet Explorer, by default; unless custom settings are used to run in an unsafe mode) and allowed in an unsafe environment (e.g., Visual Basic).
  97. a. RDS.DataControl object
  98. b. RDS.DataSpace object
  99. c. ADO Recordset object
  100.  
  101. 3.2.2 Unsafe Objects
  102. The following objects are considered "unsafe." They cannot be created directly or indirectly (and given to a user) when operating in a safe environment.
  103. a. RDSServer.DataFactory object
  104. b. ADO Connection object
  105. c. ADO Command object
  106.  
  107. 3.2.3 Unsafe Operations on Safe Objects
  108. The following are considered unsafe operations on the "safe" objects -- RDS.DataControl, RDS.DataSpace, ADO Recordset. These operations are disallowed in a safe environment but allowed in an unsafe environment.
  109.  
  110. a. RDS.DataControl
  111. i) All two-tier and DCOM scenarios on the RDS.DataControl object. This means that you cannot open database connections on your local machine or from servers to which you connect using the DCOM protocol.
  112. ii) All three-tier operations over HTTP are restricted to the server from which the page has been downloaded. This means that the Server property on the RDS.DataControl object must be equal to the host name (http://server) from which the page has been downloaded.
  113.  
  114. b. RDS.DataSpace
  115. i) All two-tier and DCOM scenarios on the RDS.DataSpace object. This means that you cannot use the RDS.DataSpace object to invoke business objects on your local machine or over the DCOM protocol.
  116. ii) All three-tier scenarios over HTTP are restricted to the server from which the page has been downloaded. This means that the second parameter in the CreateObject method call on the DataSpace object must point to the same server from which the page has been downloaded.
  117.  
  118. c. ADO Recordset
  119. i) Making any connection where provider is not MS Remote. So the connection string must start with "Provider=MS Remote". The "Remote Server" tag in the connection string must also be the same name as the server from which the page has been downloaded. Local two-tier and DCOM connections are not allowed.
  120. ii) Local Persistence operations, like saving a recordset to the local filesystem and opening a recordset from file on the local machine.
  121.  
  122. 3.3 Customizing Security Settings
  123.  
  124. ADO/RDS behavior is controlled by the setting for the "Initialize and script ActiveX controls not marked as safe" option. You can change the security settings by changing the security level for a specific zone. Default settings for the "Initialize and script ActiveX controls not marked as safe" option for the intranet zone are as follows:
  125. Security level = High        Value = "Disable"
  126. Security level = Medium        Value = "Disable"
  127. Security Level = Low        Value = "Prompt"
  128.  
  129. For default settings in other security zones, please refer to the documentation for Internet Explorer.
  130.  
  131. By changing the security level, you can change the behavior of disconnected ADO Recordset objects running in the browser. If you want to enable unsafe operations and do not want